package com.sk.bilibili.view.activity;

import android.content.Context;

import com.sk.bilibili.adapter.pager.BaseTypeFragmentAdapter;
import com.sk.bilibili.adapter.pager.rank.RankFragmentAdapter;
import com.sk.bilibili.bean.Type;

import java.util.List;

public class RankActivity extends BaseTypeActivity {

    public static void start(Context context, Integer index){
        start(context, index,RankActivity.class);
    }

    @Override
    protected String getTitleName() {
        return "全区排行榜";
    }

    @Override
    protected BaseTypeFragmentAdapter getFragmentAdapter(List<Type> types) {
        return new RankFragmentAdapter(getSupportFragmentManager(),types);
    }

}